import Dao.TestDao;
import jakarta.annotation.security.RunAs;
import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test {


    public static  void main(String[] args) {

        ClassPathXmlApplicationContext appContext
                =new ClassPathXmlApplicationContext("appLicationContext.xml");
        TestDao testDao = (TestDao) appContext.getBean("testDao");
        testDao.test();
    }
}
